package com.edu.mapper;

import com.edu.bean.Book;

import java.util.List;

public interface BookMapper {
    int deleteByPrimaryKey(Integer bookId);

    int insert(Book row);

    Book selectByPrimaryKey(Integer bookId);

    List<Book> selectAll();

    int updateByPrimaryKey(Book row);
    List<Book> selectBookCondition(Book book);
    Book selectByBookName(String bookName);
    int selectCountBook();
}